from distutils.command.install import INSTALL_SCHEMES

# Tell distutils to put the data_files in platform-specific installation
# locations. See here for an explanation:
# http://groups.google.com/group/comp.lang.python/browse_thread/thread/35ec7b2fed36eaec/2105ee4d9e8042cb

from glob import glob
pkg_config = {
	'name': 'duetopia-ows',
	'author': 'Jo Walsh',
	'author_email': 'jo@frot.org',
	'url': 'http://www.terradue.com/duetopia/ows/',
	'description': 'Duetopia OWS Python Library',
	'long_description': """
Duetopia Python Library for talking to OGC Web Services 
	""",
	'packages': ['duetopia', 'duetopia.ows'],
	'data_files': [
	],
    'version': '0.1',
	'license': 'GPL',
	'platforms': ['all'],
    'install_requires': ['owslib >= 0.3'],
}

if __name__ == '__main__':
	from distutils.core import setup
	from os import environ

	if "DUETOPIA_VERSION" in environ:
		pkg_config['version'] = environ["DUETOPIA_VERSION"]

	setup(**pkg_config)
